// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_CHK_QULITY_CHECKING_RESULT
// * CreateDate    : 2011-11-24 23:07:01
// * Creater       : CodeSmith
// * LastChangeDate: 2011-11-24 23:07:01
// * LastChanger   : 2011-11-24 23:07:01
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ChkQulityCheckingResultTable : TableInfo
    {
        public const string C_TableName = "CHK_QULITY_CHECKING_RESULT";

        public const string C_CHECKING_RESULT_ID = "CHECKING_RESULT_ID";
        public const string C_CHECKING_ITEM_ID = "CHECKING_ITEM_ID";
        public const string C_CHECKING_ITEM_DETAIL_ID = "CHECKING_ITEM_DETAIL_ID";
        public const string C_QTY = "QTY";
        public const string C_RESULT = "RESULT";
        public const string C_PROCESSING_MODE = "PROCESSING_MODE";

        public ChkQulityCheckingResultTable()
        {
            _tableName = "CHK_QULITY_CHECKING_RESULT";
        }

        protected static ChkQulityCheckingResultTable _current;
        public static ChkQulityCheckingResultTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ChkQulityCheckingResultTable();

            _current.Add(C_CHECKING_RESULT_ID, new ColumnInfo(C_CHECKING_RESULT_ID, "CheckingResultId", true, typeof(string)));
            _current.Add(C_CHECKING_ITEM_ID, new ColumnInfo(C_CHECKING_ITEM_ID, "CheckingItemId", false, typeof(string)));
            _current.Add(C_CHECKING_ITEM_DETAIL_ID, new ColumnInfo(C_CHECKING_ITEM_DETAIL_ID, "CheckingItemDetailId", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY, "Qty", false, typeof(decimal)));
            _current.Add(C_RESULT, new ColumnInfo(C_RESULT, "Result", false, typeof(string)));
            _current.Add(C_PROCESSING_MODE, new ColumnInfo(C_PROCESSING_MODE, "ProcessingMode", false, typeof(string)));

        }

        public ColumnInfo CHECKING_RESULT_ID
        {
            get { return this[C_CHECKING_RESULT_ID]; }
        }

        public ColumnInfo CHECKING_ITEM_ID
        {
            get { return this[C_CHECKING_ITEM_ID]; }
        }

        public ColumnInfo CHECKING_ITEM_DETAIL_ID
        {
            get { return this[C_CHECKING_ITEM_DETAIL_ID]; }
        }

        public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }

        public ColumnInfo RESULT
        {
            get { return this[C_RESULT]; }
        }

        public ColumnInfo PROCESSING_MODE
        {
            get { return this[C_PROCESSING_MODE]; }
        }



    }
}

